package xinya.com.baselibrary.bean.program;

import java.util.List;

/**
 * Created by zhangjiebo on 2019/6/22.
 *
 * @author ZhangJieBo
 */
public class ProgramGetlist {


    /**
     * current_page : 1
     * data : [{"program_id":2,"scene_type":1,"type":1,"play_time":1}]
     * from : 1
     * last_page : 1
     * next_page_url : null
     * path : http://118.31.63.221:8001/api/program/getList
     * per_page : 20
     * prev_page_url : null
     * to : 1
     * total : 1
     */

    private int current_page;
    private int from;
    private int last_page;
    private String next_page_url;
    private String path;
    private String per_page;
    private String prev_page_url;
    private int to;
    private int total;
    private List<DataBean> data;

    public int getCurrent_page() {
        return current_page;
    }

    public void setCurrent_page(int current_page) {
        this.current_page = current_page;
    }

    public int getFrom() {
        return from;
    }

    public void setFrom(int from) {
        this.from = from;
    }

    public int getLast_page() {
        return last_page;
    }

    public void setLast_page(int last_page) {
        this.last_page = last_page;
    }

    public String getNext_page_url() {
        return next_page_url;
    }

    public void setNext_page_url(String next_page_url) {
        this.next_page_url = next_page_url;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPer_page() {
        return per_page;
    }

    public void setPer_page(String per_page) {
        this.per_page = per_page;
    }

    public String getPrev_page_url() {
        return prev_page_url;
    }

    public void setPrev_page_url(String prev_page_url) {
        this.prev_page_url = prev_page_url;
    }

    public int getTo() {
        return to;
    }

    public void setTo(int to) {
        this.to = to;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * program_id : 2
         * scene_type : 1
         * type : 1
         * play_time : 1
         */

        private int program_id;
        private int scene_type;
        private int type;
        private int play_time;

        public int getProgram_id() {
            return program_id;
        }

        public void setProgram_id(int program_id) {
            this.program_id = program_id;
        }

        public int getScene_type() {
            return scene_type;
        }

        public void setScene_type(int scene_type) {
            this.scene_type = scene_type;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getPlay_time() {
            return play_time;
        }

        public void setPlay_time(int play_time) {
            this.play_time = play_time;
        }
    }
}
